package com.ss.android.newmedia.a;

import android.app.Activity;
import android.content.Intent;

import com.ss.android.common.app.AppHooks;
import com.ss.android.common.app.AppHooks.ActivityLifeCycleHook;
import com.ss.android.common.app.AppHooks.ActivityResultHook;
import com.ss.android.common.app.AppHooks.AppBackgroundHook;
import com.ss.android.common.applog.AppLog.e;
import com.ss.android.common.applog.AppLog.g;
import com.ss.android.newmedia.BaseAppData;
import com.ss.android.newmedia.k;
import com.ss.android.update.UpdateHelper;

import org.json.JSONObject;

public final class d implements
        ActivityLifeCycleHook,
        ActivityResultHook,
        AppBackgroundHook,
        AppHooks.AppStartMonitorHook,
        e,
        g,
        UpdateHelper.c {
    public static final d a = new d();

    public d() {

    }

    public final void a(long arg2, String arg4, JSONObject arg5) {
        BaseAppData.inst().a(arg2, arg4, arg5);
    }

    public final void onAppBackgroundSwitch(boolean arg2) {
        BaseAppData.inst().onAppBackgroundSwitch(arg2);
    }

    public final boolean onActivityResult(Activity activity, int arg3, int arg4, Intent intent) {
        return BaseAppData.inst().onActivityResult(activity, arg3, arg4, intent);
    }

    public final void aA() {
        BaseAppData.inst();
        k.d();
    }

    public final void aG() {
        BaseAppData.inst().aG();
    }

    public final void onAppStartMonitor() {
        BaseAppData.inst().onAppStartMonitor();
    }

    public final void az() {
        BaseAppData.inst().az();
    }

    public final void b(JSONObject arg2) {
        BaseAppData.inst().b(arg2);
    }

    public final void setSessionId(long arg2) {
        BaseAppData.inst().setSessionId(arg2);
    }

    public final void onActivityResumed(Activity activity) {
        BaseAppData.inst().onActivityResumed(activity);
    }

    public final void c_() {
        BaseAppData.inst();
    }

    public final void onActivityPaused(Activity activity) {
        BaseAppData.inst().onActivityPaused(activity);
    }
}

